package com.chushouya.manager.dto.admin.user.login;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 登录参数
 */
@Data
@ApiModel("验证码登录参数")
public class SmsLoginDTO {

    @ApiModelProperty(value = "手机号码", required = true)
    @NotBlank(message = "手机号码不能为空")
    private String phone;

    @ApiModelProperty(value = "验证码", required = true)
    @NotBlank(message = "验证码不能为空")
    private String code;

    @ApiModelProperty("登录平台")
    private String platform;

//    @ApiModelProperty("登录场景")
//    @NotBlank(message = "登录场景不能为空")
//    private String scene;
//
    @ApiModelProperty("AppId")
    private String appId;
//
//    @ApiModelProperty("登录用户角色user/merchant/store/clerk")
//    private String loginRole;

}
